<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Web application to give feedback to companies 
managers so customer experience could improve">
<meta name="keywords" content="customer, feedback, net promoter score, nps, best companies, best restaurants">
<meta name="author" content="Markus Karileet">
<link rel="stylesheet" type="text/css" href="{$smarty.const.WEBROOT}/lib/design/css/style.css" title="TellUs"
    media="screen,projection">
<link rel="stylesheet" type="text/css" href="{$smarty.const.WEBROOT}/lib/design/css/portablestyle.css" title="TellUs"
    media="screen,projection">
<link rel="stylesheet" type="text/css" href="{$smarty.const.WEBROOT}/lib/design/css/jquery-ui-1.10.3.custom.css">
<script src="{$smarty.const.WEBROOT}/lib/design/js/jquery.js"></script>
<script src="{$smarty.const.WEBROOT}/lib/design/js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="{$smarty.const.WEBROOT}/lib/design/js/jquery.raty.min.js"></script>
<script src="{$smarty.const.WEBROOT}/lib/design/js/javascript.js"></script>
<title>{$lang['title']}</title>
<script type="text/javascript">
var prefix = '{$smarty.const.WEBROOT}';
</script>
</head>

<body>
        <div id="content">
<h1>{$business->getName()}</h1>
<h3 style="width: 565px">{$lang['giveFeedback']}</h3>
<p><strong>{$lang['feedbackIsImp']}</strong></p>
<p>{$lang['rateScale']}</p>
<form action="{$smarty.const.WEBROOT}/?action=save" method="POST"
	id="feedbackForm">
	<input type="hidden" id="business" name="business"
		value="{$business->getId()}" />
	<input type="hidden" id="mobile" name="mobile"
		value="1" />
	<table style="padding-left:9px;width:100%">
		<tr>
			<td width="131px">{$lang['score']}*</td>
			<td><div id="star"></div> <script type="text/javascript">
					jQuery('#star').raty({
						number : 10,
						width: false,
						path : '{$smarty.const.WEBROOT}/lib/design/img',
						hints: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
						starOff  : 'star-off-big.png',
					    starOn   : 'star-on-big.png'
					});
				</script></td>
		</tr>
		<tr>
			<td>{$lang['comment']}*</td>
			<td><textarea class="feedbackInput textareaHeight inputWidth" id="comment"
					name="comment"> </textarea></td>
		</tr>
		<tr>
			<td colspan="2">
				<p class="box">{$lang['getFeedback']}
				</div>
			</td>
		</tr>
		<tr>
			<td>{$lang['email']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="email"
				name="email" /></td>
		</tr>
		<tr>
			<td>{$lang['phone']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="phone"
				name="phone" /></td>
		</tr>
	</table>
	<div class="clearfix"></div>
	<br>
	<p class="readmore">
		<a href="#" onclick="sendForm()">{$lang['doneBtn']}</a> »
	</p>
</form>
        
        </div>


</body>
</html>